/**
 * Created by liguangsong on 16/8/4.
 */
import React from 'react'
import { Link, hashHistory } from 'react-router'

var TitleView = React.createClass( {
    render() {
        return (
            <div className="gameTitleView">
                <img src='app/assist/return.png' className="return" onClick={this.handleClick}/>
                <img className="gameTeamImg" src='app/assist/teamIcon/gsw.png' />
                <img className="gameTeamImg" style={{ left: '680px' }}  src='app/assist/teamIcon/lal.png' />
                <p className="gameTeamCity">MILWAUKIEE</p>
                <p className="gameTeamCity" style={{ left: '630px' }}>MILWAUKIEE</p>
                <p className="gameTeamName">BUCKS</p>
                <p className="gameTeamName" style={{ left: '630px' }}>BUCKS</p>
                <p className="gameTeamPoint">100</p>
                <p className="gameTeamPoint" style={{ left: '530px' }}>100</p>
                <p className="visitorAndHome">Home</p>
                <p className="visitorAndHome" style={{ left: '558px' }}>Visitor</p>
                <div className="centerLine"></div>
                <p className="gameDetaimTime">Q4 0:00</p>
            </div>
        )
    },

    handleClick(event) {
        event.preventDefault();
        const path = '/';
        hashHistory.push(path);
    }
});

export default TitleView;